export enum RouteType { GET, POST, PUT, PATCH, HEAD, DELETE, ALL }
export enum ExpressAddStatus { DELETED, NONE, DEFAULT }
export enum StrOptType { NORMAL, UPPER_CASE, LOWER_CASE }
export enum CursorType { PROJECT, MATCH, REDACT, LIMIT, SKIP, UNWIND, GROUP, SORT, GEONEAR, LOOKUP, OUT }
export enum OrderProdSource {PRODUCT = 0, CART = 1}
export enum OrderDisplayTab { ALL, PENDING, PAYING, DELIVERY, CONFIRM, EVALUATE }
export enum BankcardStatus { DELETED, FROZEN, PENDING, NORMAL, DEFAULT }
export enum OrderBuyerDisplayStatus { ALL, PENDING, PAYING, DELIVERY, CONFIRM, EVALUATE}
export enum OrderVendorDisplayStatus { ALL, PENDING, DELIVERY, RECEIPT, REFUND, SUCCESS }

export enum PayType {
    WECHAT = 1,    //微信支付
    ALIPAY  = 2,    //支付宝支付
    BALANCE = 3,    //余额支付
}

export enum HttpGetType {
    RENDER = 0,
    SEND = 1
}

export enum TransType {
    TOP_UP = 1,  //货款预存
    ONLINE_PAY = 2,  //在线支付
    BALANCE_PAY = 3,  //余额支付
    ORDER_REFUND = 4,  //订单返款
    WITHDRAW = 5,  //零钱提现
    RED_PACKET = 6,  //红包(券)
    OFFLINE = 7,  //线下支付
}

export enum TransStatus {
    PENDING = 1,  //待确认
    PAYINGCONFIRM = 2,  //待财务确认
    SUCCESS = 3,  //付款成功
    FAILED = 4,  //付款失败（余额不足）
}

export enum OrderSource {
    CREARE = 1,   //线下创建
    CUSTOMER = 2,   //客户下单
    APP = 3,   //APP下单
}

export enum ShipType {
    BUYERPAY = 1,   //买家支付
    VENDORPAY = 2,   //卖家支付
}

export enum SexType {
    MALE = 0,
    FEMALE = 1,
}

export enum LogType {
    INFO = 0,
    DEBUG = 1,
    WARN = 2,
    ERROR = 3,
}

export enum AuthType {
    UNAUDITED = 0,
    AUDITED = 1,
    PENDING = 2,
}

export enum UserRegType {
    INDIVIDUAL = 0,   // 个体户
    AGENT = 1,   // 代理商
    DISTIBUTOR = 2,   // 经销商
    MANUFACTURER = 3,   // 生产厂商
    GOVERMENT = 4,   // 政府及企事业单位
}

export enum UserCertStatus {
    UNAUTHED = 0,   // 未认证
    PENDING = 1,   // 待审核
    REPENDING = 2,   // 重传待审
    REJECTED = 3,   // 审核退回
    SUCESSED = 4,   // 已认证
}

export enum UserStatus {
    PENDING = 1,     // 审核
    VALID = 2,     // 有效
    INVALID = 3,     // 无效
    DISABLE = 4,     // 禁言
}

export enum SysUserStatus {
    NORMAL = 1,      // 正常
    FROZEN = 2,      // 冻结
    DELETED = 3,      // 删除
}

export enum RegLoginType {
    WEB = 0,
    WECHAT = 1,
    APP = 2,
    WECHAT_SUB = 3,
}

export enum SmsType {
    IDC = 0,
    MSG = 1,
}

export enum IdcType {
    REGIDC = 0x00,
    RESETPWD = 0x01,
}

export enum PPEDepartType {
    HRADMIN = 1,    // 人事行政
    FINANCE = 2,    // 财会部
    TRADE = 3,    // 销售部
    PRODUCT = 4,    // 产品客服部
    MARKETING = 5,    // 运营部(品牌推广市场部)
    CHANNEL = 6,    // 渠道部
    ITECH = 7,    // 技术部
}

export enum UIDType {
    BIT6 = 0,
    BIT7 = 1,
    BIT8 = 2,
}

export enum MatType {
    BRAND = 0,
    PRODUCT = 1,
    ACTIVITY = 2,
    OTHERS = 3,
    SIDE_PRODUCT = 4,
    SIDE_OTHERS = 5,
}

export enum MatStatusType {
    PENDING = 0x00,
    ONLINE = 0x01,
    OFFLINE = 0x02,
    REMOVED = 0x10,
}

export enum SearchDisplay{
    FLOW = 0,
    LIST = 1
}

export enum SplitterType {
    MINI,   // 迷你 - W:126 x H:80 x C:10
    HALF,   // 半高 - W:158 x H:120 x C:8
    FULL,   // 全高 - W:316 x H:200 x C:4
}

export enum Role {
    BUYER = 1,
    VENDOR = 2,
    ADMIN = 3,
    USER = 4,
    DELIVERY = 5,
    SERVICE = 6,
}


